Optimal. Leaf size=867 \[ \frac {2 \left (A b^2+a^2 C\right ) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {2 \left (2 a b c C+A b^2 d-a^2 C d\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b^2 (b c-a d) \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {2 C \sqrt {-d g+c h} (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b^2 \sqrt {b c-a d} h \sqrt {c+d x} \sqrt {e+f x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.18, antiderivative size = 867, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 9, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.204, Rules used = {1619, 1616,
1612, 176, 430, 171, 551, 182, 435} \begin {gather*} -\frac {2 \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\text {ArcSin}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right ) \left (C a^2+A b^2\right )}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {2 \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x} \left (C a^2+A b^2\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {2 d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x} \left (C a^2+A b^2\right )}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 \left (-C d a^2+2 b c C a+A b^2 d\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\text {ArcSin}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b^2 (b c-a d) \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {2 C \sqrt {c h-d g} (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\text {ArcSin}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {c h-d g} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b^2 \sqrt {b c-a d} h \sqrt {c+d x} \sqrt {e+f x}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 171
Rule 176
Rule 182
Rule 430
Rule 435
Rule 551
Rule 1612
Rule 1616
Rule 1619
Rubi steps
\begin {align*} \int \frac {A+C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx &=-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {\int \frac {-a (a A d f h-a C (d e g+c f g+c e h)+b (c C e g-A d f g-A d e h-A c f h))+\left (2 a^2 C (d f g+d e h+c f h)+b^2 (c C e g+A d f g+A d e h+A c f h)+a b (A d f h-C (d e g+c f g+c e h))\right ) x+2 \left (A b^2+a^2 C\right ) d f h x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{(b c-a d) (b e-a f) (b g-a h)}\\ &=\frac {2 \left (A b^2+a^2 C\right ) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {\int \frac {-2 d (a c C+A b d) f (b e-a f) h (b g-a h)+2 C d (b c-a d) f (b e-a f) h (b g-a h) x}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{2 b d (b c-a d) f (b e-a f) h (b g-a h)}+\frac {\left (\left (A b^2+a^2 C\right ) (d e-c f) (d g-c h)\right ) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{b (b c-a d) (b e-a f) (b g-a h)}\\ &=\frac {2 \left (A b^2+a^2 C\right ) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {C \int \frac {\sqrt {a+b x}}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{b^2}-\frac {\left (2 a b c C+A b^2 d-a^2 C d\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{b^2 (b c-a d)}-\frac {\left (2 \left (A b^2+a^2 C\right ) (d g-c h) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {(-b c+a d) x^2}{b e-a f}}}{\sqrt {1-\frac {(d g-c h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {c+d x}}\right )}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}\\ &=\frac {2 \left (A b^2+a^2 C\right ) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {\left (2 C (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}\right ) \text {Subst}\left (\int \frac {1}{\left (h-b x^2\right ) \sqrt {1+\frac {(b c-a d) x^2}{d g-c h}} \sqrt {1+\frac {(b e-a f) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {g+h x}}{\sqrt {a+b x}}\right )}{b^2 \sqrt {c+d x} \sqrt {e+f x}}-\frac {\left (2 \left (2 a b c C+A b^2 d-a^2 C d\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {(b c-a d) x^2}{d e-c f}} \sqrt {1-\frac {(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {a+b x}}\right )}{b^2 (b c-a d) (f g-e h) \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ &=\frac {2 \left (A b^2+a^2 C\right ) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}-\frac {2 \left (A b^2+a^2 C\right ) \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{b (b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {2 \left (2 a b c C+A b^2 d-a^2 C d\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b^2 (b c-a d) \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {2 C \sqrt {-d g+c h} (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b^2 \sqrt {b c-a d} h \sqrt {c+d x} \sqrt {e+f x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 33.83, size = 1272, normalized size = 1.47 \begin {gather*} -\frac {2 \left (A b^2+a^2 C\right ) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {2 (a+b x)^{5/2} \left (-\left (\left (A b^2+a^2 C\right ) \left (d+\frac {b c}{a+b x}-\frac {a d}{a+b x}\right ) \left (f+\frac {b e}{a+b x}-\frac {a f}{a+b x}\right ) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )\right )+\frac {(b e-a f) \sqrt {\frac {(b g-a h) \left (d+\frac {b c}{a+b x}-\frac {a d}{a+b x}\right )}{b (d g-c h)}} \left (-2 a C (b c-a d) h (b g-a h) \left (f+\frac {b e}{a+b x}-\frac {a f}{a+b x}\right ) \left (h+\frac {b g-a h}{a+b x}\right ) F\left (\sin ^{-1}\left (\sqrt {-\frac {(b e-a f) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )}{b (f g-e h)}}\right )|\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )+A b^2 h \left (f+\frac {b e-a f}{a+b x}\right ) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right ) \left (b (d g-c h) E\left (\sin ^{-1}\left (\sqrt {\frac {(b e-a f) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )}{b (-f g+e h)}}\right )|\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )+d (-b g+a h) F\left (\sin ^{-1}\left (\sqrt {\frac {(b e-a f) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )}{b (-f g+e h)}}\right )|\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )\right )+a^2 C h \left (f+\frac {b e-a f}{a+b x}\right ) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right ) \left (b (d g-c h) E\left (\sin ^{-1}\left (\sqrt {\frac {(b e-a f) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )}{b (-f g+e h)}}\right )|\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )+d (-b g+a h) F\left (\sin ^{-1}\left (\sqrt {\frac {(b e-a f) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )}{b (-f g+e h)}}\right )|\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )\right )-C (b c-a d) (b g-a h)^2 \left (f+\frac {b e}{a+b x}-\frac {a f}{a+b x}\right ) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right ) \Pi \left (\frac {b (-f g+e h)}{(b e-a f) h};\sin ^{-1}\left (\sqrt {-\frac {(b e-a f) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )}{b (f g-e h)}}\right )|\frac {(-b c+a d) (-f g+e h)}{(b e-a f) (d g-c h)}\right )\right )}{b h (f g-e h) (a+b x) \sqrt {-\frac {(b e-a f) (b g-a h) \left (f+\frac {b e}{a+b x}-\frac {a f}{a+b x}\right ) \left (h+\frac {b g}{a+b x}-\frac {a h}{a+b x}\right )}{b^2 (f g-e h)^2}}}\right )}{b^3 (-b c+a d) (-b e+a f) (-b g+a h) \sqrt {c+\frac {(a+b x) \left (d-\frac {a d}{a+b x}\right )}{b}} \sqrt {e+\frac {(a+b x) \left (f-\frac {a f}{a+b x}\right )}{b}} \sqrt {g+\frac {(a+b x) \left (h-\frac {a h}{a+b x}\right )}{b}}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(33893\) vs.
\(2(794)=1588\).
time = 0.16, size = 33894, normalized size = 39.09
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(2286\) |
default | \(\text {Expression too large to display}\) | \(33894\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {C\,x^2+A}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,{\left (a+b\,x\right )}^{3/2}\,\sqrt {c+d\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________